<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>都市家,用心创建您我美好家园.</title>
<meta name="Keywords" content="建材,装饰,建材产品,建材商品,家居产品,家居商品" />
<meta name="Description" content="都市家网是专业提供建材行业信息，主要内容：家居产品、家居商品、建材产品、建材商品、供求信息、建材招商、建材加盟、企业库、建材新闻，是建材招商、采购、推广宣传的专业建材门户网站！" />
<meta name="author" content="OOPHP Group kylingood@gmail.com" />
<link rel="stylesheet" type="text/css" href="<?php echo $this->BaseUrl;?>/public/<?php echo $this->module;?>/css/global.css">
<link id="stylecss" href="<?php echo $this->BaseUrl;?>/public/<?php echo $this->module;?>/style/<?php echo $this->spacesetting['style'];?>/style.css" rel="stylesheet" type="text/css" />
<link id="skincss" href="<?php echo $this->BaseUrl;?>/public/<?php echo $this->module;?>/skin/<?php echo $this->spacesetting['skin'];?>/skin.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="<?=$this->baseUrl;?>/public/spaces/css/global.css">
<style type="text/css">
.oncursor{cursor:move;}
#header .search_area{color: #FFFFFF;font-size:14px;top:50px;left:620px;font-weight:bold;position:absolute;}
#vote span{
font-size:16px; font-weight:bold; color:#009900; padding-left:10px;}
<?php
if($this->spacesetting['bannerurl']  && !file_exists(PROJECT_ROOT.'/'.$this->spacesetting['bannerurl']))$this->spacesetting['bannerurl'] = '';
?>
<?php if($this->spacesetting['bannerurl']):?>
#mainpic {background:transparent url("<?php echo $this->spacesetting['bannerurl'];?>");<?php echo $headerimgcss;?>} 
<?php endif;?>
<?php
$css = $this->spacesetting['css'];
if(is_array($css))foreach($css as $k=>$v){
	echo $v."\n";
}
?>
</style>
<link href="<?php echo $this->BaseUrl;?>/public/<?php echo $this->module;?>/js/jquery-ui-themeroller.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" language="Javascript" src="<?php echo $this->BaseUrl;?>/public/js/jquery.js"> </script>
<script src="<?php echo $this->BaseUrl;?>/public/js/jquery-ui.js" type="text/javascript" language="javascript" ></script>

<script language="javascript">
$(document).ready(
		function (){
			<?php if($this->currentControler=='index'&&$_COOKIE['_dushijia_edit_style']&&$this->uid==$this->authUid):?>
			$("#header .logo").css("cursor","move");
			$("#header h1").css("cursor","move");
			$("#header .search_area").css("cursor","move");
			<?php else:?> 
			$("#header .logo").css("cursor","auto");
			$("#header h1").css("cursor","auto");
			$("#header .search_area").css("cursor","auto");
			<?php endif;?> 
		}
);
</script>

</head>
<body>
<?php if($this->currentControler=='index'&&$_COOKIE['_dushijia_edit_style']&&$this->uid==$this->authUid):?>
<?php echo $this->render('tools.phtml');?>
<?php endif;?> 


<div id="pm_dialog" style="display:none;"><iframe scrolling="no" frameborder="0" marginheight="0" marginwidth="0" style="border:none;" src="" width="480px" height="340px"></iframe></div>
<!-- content -->

<div id="content" class="w950 r2-230">

<div id="links">
  <div class="w2">
      选择语言：  <a href="#" title="English" >English</a> | <a href="#" title="繁體中文" >繁體中文</a> | 简体中文    
  </div>
  <div class="w2 la" style="font-size:12px;">
  	<?php if($this->authUid):?>
   	  <a href="/" title="都市家首页" >都市家首页  </a> | <a href="<?php echo $this->urls('index','index','user',array('uid'=>$this->authUid));?>" title="<?php echo $this->authInfo->username;?>" > » <?php echo $this->authInfo->username;?></a> | 
      <a href="<?php echo $this->urls('index','index','user',array('uid'=>$this->authUid),'userroute');?>" title="空间管理" >空间管理</a> | <a href="<?php echo $this->urls('edit','modules','space',array('uid'=>$this->authUid),'memberset');?>" title="空间设置" >空间设置</a> | <a href="<?php echo $this->urls('index','message','space',array('uid'=>$this->authUid));?>" title="短信"  target="_blank">短信(0)</a> | 
      <a href="<?php echo $this->urls('logout','auth');?>" title="退出" > »退出</a> 
      <?php else:?>
      <a href="#" title="注册" > 注册</a> | <a href="#" title="登陆"> 登陆</a> 
      <?php endif;?>
  </div>
  <div class="clear"></div>  
</div>  <!-- head -->
  <div id="header">
    <div class="logo"><?php if($this->logo&&$this->logo!='public/images/no_image.gif'):?><img src="<?php echo $this->Baseurl; ?>/<?php echo $this->logo;?>" /><? endif;?> 
    </div>
    <h1><?php echo $this->companyname;?></h1>
 <div class="search_area">空间搜索<form action="<?php echo $this->urls('index','index','space',array('username'=>'wujian','uid'=>$this->uid));?>" name="form1" method="get" >   
    <input id="se_keyword" name="keyword" type="text" value="搜索房子" class="inputbg" onclick="this.value=''">
    <input type="submit" name="button2" value="搜索" onclick="if($('form > #se_keyword').val()=='搜索房子')$('form > #se_keyword').val('')">
  </form></div>
 <div class="clear"></div>
  <div id="menu">
    <ul class="nav">
   
      <li><a href="<?php echo $this->urls('index','index','default',array('username'=>'kylingood'),'companyroute');?>"<?php echo ($this->currentControler =='index' or empty($this->currentControler))?' class="menu-ed"':'';?>><span>首页</span></a></li>
      <?php $topmenus = $this->userMenus;
	  		$menunums = count($topmenus);
	  		if(is_array($topmenus))foreach($topmenus as $k=>$m):?> 
        <li<?php echo ($menunums==($k+1))?' class="last"':'';?>>
        <?php //echo $m['link'];?>
        <a href="<?php echo $this->urls('index',$m['link'],'default',array('username'=>'wujian','uid'=>$this->uid),$m['link'].'nav');?>" id="head_menu_<?php echo $m['code'];?>"<?php echo $this->currentControler==$m['code'] ?' class="menu-ed"':'';?>>
        <span>
        <?php echo $m['name']; ?>
        </span>
        </a>
        </li> 
        <?php endforeach;?>
       </ul>
  </div>
 <div id="mainpic"></div>
    <div class="clear"></div>
  </div>
  <!-- End head -->

  <!-- content -->
  <div id="main">
  
  <?php echo $this->layout()->content;?>
  
<div class="clear"></div>
  </div>
  <!-- End content -->
  <div id="footer"> <a href="#" target="_blank">关于我们</a> | <a href="#" target="_blank">联系我们</a> | <a href="#" target="_blank">法律条款</a> | <a href="#" target="_blank">隐私政策</a> | <a href="#" target="_blank">合作伙伴</a> | <a href="#" target="_blank">网站地图</a> | <a href="#" target="_blank">大事记</a><br />
    Copyright &copy; 2002-2009   Dushijia Co.,Ltd. All Rights Reserved<br />
  <br />
  </div>
</div>
<!-- End content -->
</body>
</html>